package com.ctshk.rpc.payment.dto.rep.wechat;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.payment.dto.rep.wechat
 * @Author: hef
 * @CreateTime: 2021-05-08 15:09
 * @Description: 描述
 */
@Data
public class WxPayRefundDetailDTO implements Serializable {
    /**
     * 退款金额 单位分
     */
    private Long refundFee;
    /**
     * 币种
     */
    private String feeType;
    /**
     * 退款历史记录
     */
    private List<RefundItem> list;

    @Data
    public static class RefundItem{
        /**
         * 次数
         */
        private String times;
        /**
         * 退款成功时，退款时间
         */
        private LocalDateTime refundSuccessTime;
        /**
         * 退款状态
         */
        private String refundStatus;
        /**
         * 退款金额
         */
        private Long refundFee;
        /**
         * 退款单号
         */
        private String refundNo;
    }
}
